package com.ilancuo.datetime;

import java.util.Calendar;

public class CalendarWeek {
    public static void main(String[] args) {
        Calendar calendar = Calendar.getInstance();
        calendar.add(Calendar.DAY_OF_WEEK, -3);
        System.out.println(calendar.get(Calendar.DAY_OF_WEEK ) - 1);
    }
}
